package com.bei_en.teacher.admin.model.order.condition;

import java.util.*;

import com.bei_en.teacher.admin.model.BaseCondition;

import javax.validation.constraints.*;

import org.hibernate.validator.constraints.*;

import java.math.BigDecimal;

/**
 * 用于list页面的查询条件
 * （订单）
 * @author Guocg
 * @date 2016-12-22 9:44:24
 */
public class OrderBasicCondition extends BaseCondition {

    private Date createTime1;   //生成时间起
    private Date createTime2;   //止
private String queryWhere;
	
public String getQueryWhere() {
	return queryWhere;
}

public void setQueryWhere(String queryWhere) {
	this.queryWhere = queryWhere;
}
//    private Boolean isDel = false;
	private Integer id;  // 
	private String orderNum;  // 订单order
	private Integer payTime;  // 支付时间
	private Integer orderType;  // 订单类型，1-物业缴费；2-实物订单
	private Integer consultationId;  // 文章id
	private Integer userId;  // 关联用户
	private Integer paymentTime;  // 付款时间
	private String paymentGateway;  // 付款通道）1是微信2是支付宝
	private String paymentNumber;  // 交易编号
	private String description;  // 订单说明
	private Double orderAmount;  // 订单总额
	private Integer status;  // 订单状态，默认1-未支付，2-已支付，3-已取消
	private Date createTime;  // 创建时间
	private Date updateTime;  //     修改时间

	public void setId(Integer value) {
		this.id = value;
	}
	
	public Integer getId() {
		return this.id;
	}
	public void setOrderNum(String value) {
		this.orderNum = value;
	}
	
	public String getOrderNum() {
		return this.orderNum;
	}
	public void setPayTime(Integer value) {
		this.payTime = value;
	}
	
	public Integer getPayTime() {
		return this.payTime;
	}
	public void setOrderType(Integer value) {
		this.orderType = value;
	}
	
	public Integer getOrderType() {
		return this.orderType;
	}
	public void setConsultationId(Integer value) {
		this.consultationId = value;
	}
	
	public Integer getConsultationId() {
		return this.consultationId;
	}
	public void setUserId(Integer value) {
		this.userId = value;
	}
	
	public Integer getUserId() {
		return this.userId;
	}
	public void setPaymentTime(Integer value) {
		this.paymentTime = value;
	}
	
	public Integer getPaymentTime() {
		return this.paymentTime;
	}
	public void setPaymentGateway(String value) {
		this.paymentGateway = value;
	}
	
	public String getPaymentGateway() {
		return this.paymentGateway;
	}
	public void setPaymentNumber(String value) {
		this.paymentNumber = value;
	}
	
	public String getPaymentNumber() {
		return this.paymentNumber;
	}
	public void setDescription(String value) {
		this.description = value;
	}
	
	public String getDescription() {
		return this.description;
	}
	public void setOrderAmount(Double value) {
		this.orderAmount = value;
	}
	
	public Double getOrderAmount() {
		return this.orderAmount;
	}
	public void setStatus(Integer value) {
		this.status = value;
	}
	
	public Integer getStatus() {
		return this.status;
	}

	public void setCreateTime(Date value) {
		this.createTime = value;
	}
	
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setUpdateTime(Date value) {
		this.updateTime = value;
	}
	
	public Date getUpdateTime() {
		return this.updateTime;
	}
	



    public Date getCreateTime1() {

	return createTime1;
    }

    public void setCreateTime1(Date createTime1) {

	this.createTime1 = createTime1;
    }

    public Date getCreateTime2() {

	return createTime2;
    }

    public void setCreateTime2(Date createTime2) {

	this.createTime2 = createTime2;
    }

//    public Boolean getIsDel() {
//
//	return isDel;
//    }
//
//    public void setIsDel(Boolean isDel) {
//
//	this.isDel = isDel;
//    }


}